package com.s7.widget.recycler.listener;

import android.view.View;

import com.s7.widget.recycler.adapter.CompatRecyclerAdapter;

public class Recycler {

    public interface OnClickListener<T> {
        void onViewClick(View view, int position, T data);
    }

    public interface OnCheckedChangeListener<T> {
        void onCheckedChange(View view, int position, boolean b, T data);
    }

    public interface OnItemClickListener<T> {
        void onItemClick(View view, int realPosition, T data);
    }

    public interface OnItemLongClickListener<T> {
        void onItemLongClick(View view, int position, T data);
    }

    public interface OnLoadingListener {

        void onReload();

        void onLoading();
    }


}
